package com.example.springboot.bean;

import java.io.Serializable;

/**
 * @program: springboot
 * @description:
 * @author: MajorMKN
 * @create: 2019-10-09 10:38
 **/
public class Result implements Serializable {
    private boolean success;
    private String message;

    public Result(boolean success,String message) {
        super();
        this.success = success;
        this.message = message;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
